package com.lrs.java.designPattern.structural.decorator;

import com.lrs.java.designPattern.util.SysPrinter;

public class Decorator implements Component {

	private Component concreteComponent;
	
	public Decorator() {
		super();
	}

	public Decorator(Component concreteComponent) {
		super();
		this.concreteComponent = concreteComponent;
	}

	@Override
	public void sampleOperation() {
		SysPrinter.print("Abstract Decorator Operation");
		concreteComponent.sampleOperation();
	}

}
